Skip to content

Conversation

@irkedMATT
Copy link

@irkedMATT irkedMATT commented Jan 31, 2026

Add new bank locations for areas requiring sailing skill levels:

  • SUNBLEAK_ISLAND (requires sailing level 72)
  • DEEPFIN_POINT (requires sailing level 67)
  • DEEPFIN_MINE_MID (requires sailing level 67)
  • DEEPFIN_MINE_EAST (requires sailing level 67)

Each location includes proper world point coordinates and member status checks integrated with the existing hasRequirements() method.

Add new bank locations for areas requiring sailing skill levels:
- SUNBLEAK_ISLAND (requires sailing level 72)
- DEEPFIN_POINT (requires sailing level 67)
- DEEPFIN_MINE_MID (requires sailing level 67)
- DEEPFIN_MINE_EAST (requires sailing level 68)

Each location includes proper world point coordinates and member status
checks integrated with the existing hasRequirements() method.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 31, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Walkthrough

This change introduces four new bank locations to the BankLocation enum: DEEPFIN_POINT, DEEPFIN_MINE_MID, DEEPFIN_MINE_EAST, and SUNBLEAK_ISLAND, each with their corresponding WorldPoint coordinates. All new locations are designated as members-only areas. The hasRequirements method is extended to define sailing level prerequisites for each new location: Sunbleak Island requires level 72, while the three Deepfin locations require level 67. Additionally, the TAL_TEKLAN enum entry is reordered within the list.

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding new bank locations with sailing requirements.
Description check ✅ Passed The description clearly details the four new bank locations and their sailing level requirements, matching the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In
`@runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/bank/enums/BankLocation.java`:
- Around line 275-277: The DEEPFIN_MINE_EAST case in the BankLocation enum has a
mismatch: the comment and PR require Sailing level 68 but the code calls
Rs2Player.getSkillRequirement(Skill.SAILING, 67, false); update that call to use
68 and align the inline comment to "Requires sailing level 68 + Bank to be made"
so both code and comment reflect level 68.

Comment on lines 275 to 277
case DEEPFIN_MINE_EAST:
// Requires sailing level 68 + Bank to be made
return Rs2Player.getSkillRequirement(Skill.SAILING, 67, false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Level mismatch: comment says 68, code checks 67.

The comment states the requirement is sailing level 68, but the code checks for level 67. The PR objectives also indicate this location should require level 68.

Proposed fix
 case DEEPFIN_MINE_EAST:
     // Requires sailing level 68 + Bank to be made
-    return Rs2Player.getSkillRequirement(Skill.SAILING, 67, false);
+    return Rs2Player.getSkillRequirement(Skill.SAILING, 68, false);
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
case DEEPFIN_MINE_EAST:
// Requires sailing level 68 + Bank to be made
return Rs2Player.getSkillRequirement(Skill.SAILING, 67, false);
case DEEPFIN_MINE_EAST:
// Requires sailing level 68 + Bank to be made
return Rs2Player.getSkillRequirement(Skill.SAILING, 68, false);
🤖 Prompt for AI Agents
In
`@runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/bank/enums/BankLocation.java`
around lines 275 - 277, The DEEPFIN_MINE_EAST case in the BankLocation enum has
a mismatch: the comment and PR require Sailing level 68 but the code calls
Rs2Player.getSkillRequirement(Skill.SAILING, 67, false); update that call to use
68 and align the inline comment to "Requires sailing level 68 + Bank to be made"
so both code and comment reflect level 68.

My earlier commit contained a typo. The value has been reviewed and updated.
@chsami chsami merged commit d3508a0 into chsami:development Feb 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants